package com.chance.cc.crawler.prod.command.schedule.vm.dcdapp;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.vm.dcdapp.realtime.DcdappWebForumJeelyReatimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @Author Zhao.Hhuan
 * @Date Create in 2021/6/22 11:37
 * @Description
 *      懂车帝 车系页 口碑、问答
 **/
public class DCDAppSeriesCommonCrawlerJobSchedule extends CommonCrawlerJobSchedule {

    public static void main(String[] args) {
       // republishCrawlerJob(DcdappWebDynamicRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
//        republishCrawlerJob(DcdappWebEssenceRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
//        republishCrawlerJob(DcdappWebStoryTellingRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
//        republishCrawlerJob(DcdappWebForumRealtimeCrawlerSchedulerJob.crawlerSchedulejob());


      //  deleteCrawlerJob(DcdappWebDynamicRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
//        deleteCrawlerJob(DcdappWebEssenceRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
//        deleteCrawlerJob(DcdappWebStoryTellingRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
      //  deleteCrawlerJob(DcdappWebPraiseRealtimeCrawlerSchedulerJob.crawlerSchedulejob());

       // republishCrawlerJob(DcdappWebPraiseRealtimeCrawlerSchedulerJob.crawlerSchedulejob());

        //口碑每天定时1.20采集
       // republishCrawlerJob(DcdappWebPraiseRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
        //动态板块每小时采集一次
        //republishCrawlerJob(DcdappWebDynamicRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
        //动态板块 回溯七天  每天一点10分采集
       // republishCrawlerJob(DcdAppDynamicTraceCrawlerScheduleTrigger.crawlerSchedulejob());
        //deleteCrawlerJob(DcdAppDynamicTraceCrawlerScheduleTrigger.crawlerSchedulejob());
        //问答板块    每天0点40采集
        //republishCrawlerJob(DcdappWebForumRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
        //吉利项目定时采集 最新发布方式
    //  republishCrawlerJob(DcdappWebForumJeelyReatimeCrawlerSchedulerJob.crawlerSchedulejobIssue());
        //删除jobkey
        //deleteCrawlerJob(DcdappWebForumJeelyReatimeCrawlerSchedulerJob.crawlerSchedulejobComment());
        //吉利项目定时采集 最新回复方式
        republishCrawlerJob(DcdappWebForumJeelyReatimeCrawlerSchedulerJob.crawlerSchedulejobComment());
        //懂车帝 周度 四板块采集  问答
      // republishCrawlerJob(DcdAppWeekRealtimeCrawlerScheduleJob.crawlerSchedulejobWenda());
        //懂车帝 周度 四板块采集  动态
       // republishCrawlerJob(DcdAppWeekRealtimeCrawlerScheduleJob.crawlerSchedulejobDongtai());
        //懂车帝 周度 四板块采集  精华
      // republishCrawlerJob(DcdAppWeekRealtimeCrawlerScheduleJob.crawlerSchedulejobjinghua());
        //懂车帝 周度 四板块采集  口碑
      //  republishCrawlerJob(DcdAppWeekRealtimeCrawlerScheduleJob.crawlerSchedulejobPraise());

        //懂车帝 每日 四板块 采集 问答
         //republishCrawlerJob(DcdAppEveryDayRealtimeCrawlerScheduleJob.crawlerSchedulejobWenda());

        //懂车帝  每日 四板块 采集 动态
       // republishCrawlerJob(DcdAppEveryDayRealtimeCrawlerScheduleJob.crawlerSchedulejobDongtai());
        //懂车帝 每日 四板块 采集 精华
       //  republishCrawlerJob(DcdAppEveryDayRealtimeCrawlerScheduleJob.crawlerSchedulejobjinghua());
        //懂车帝 每日 四板块 采集 口碑
       //republishCrawlerJob(DcdAppEveryDayRealtimeCrawlerScheduleJob.crawlerSchedulejobPraise());
        //deleteCrawlerJob(DcdAppEveryDayRealtimeCrawlerScheduleJob.crawlerSchedulejobPraise());
    }

    public static void republishCrawlerJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_5);
    }

    public static void deleteCrawlerJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.deleteCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_5);
    }

}
